<%--
  Created by IntelliJ IDEA.
  User: Liu
  Date: 2023/8/30
  Time: 21:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head>
    <base href="${ctx}/">
    <title>商品新增</title>
    <script src="assets/lib/jQuery/jquery-3.7.0.min.js"></script>
    <script src="assets/lib/laydate/laydate.js"></script>
    <script src="assets/lib/layer/layer.js"></script>
    <script src="assets/JS/index/edit.js"></script>
    <script>
        const ctx = "${ctx}/";
        const error = "${error}"
        const oldPassword1 = "${User.password}"
        const success = "${success}"
    </script>

    <link rel="stylesheet" href="assets/CSS/index/edit.css">
</head>
<body>
<h1>修改用户密码</h1>
<div>
    <form id="passwordForm" action="user/editPwd" method="post">
        <div>
            <label for="oldPassword">原密码:</label>
            <input type="password" name="oldPassword" id="oldPassword" placeholder="请输入原密码">
        </div>
        <div>
            <label for="newPassword">新密码:</label>
            <input type="password" name="newPassword" id="newPassword" placeholder="请输入新密码">
        </div>
        <div>
            <label for="newPassword1">再次输入:</label>
            <input type="password" name="newPassword1" id="newPassword1" placeholder="请再次输入密码">
        </div>
        <div>
            <label></label>
            <button type="submit" id="confirm">确认</button>
            <button type="reset" id="reset">重置</button>
<%--            <input type="hidden" name="id" value="${inventory.id}">--%>
        </div>
    </form>
</div>
</body>
</html>
